#include"queue.h"

void Qtest()
{
	Qlist Queue;
	Qinit(&Queue);
	Qpush(&Queue, 1);
	Qpop(&Queue);
	Qpush(&Queue, 3);
	Qpush(&Queue, 2);
	Qpush(&Queue, 2);
	Qpush(&Queue, 2);
	Qpush(&Queue, 4);
	printf("%d ", Qtop(&Queue));
	Qpop(&Queue);
	printf("%d ", Qback(&Queue));
	Qdestory(&Queue);

}

int main()
{
	Qtest();
	return 0;
}